@import "variables";

body {
  padding: 0;
  margin: 0;
  height: auto;
  min-height: 100%;
}

.content-wrapper {
  background-color: #f9f9f9;
}

.modal.in .modal-dialog {
  transform: translate(0, -50%)
}

.modal-dialog {
  position: absolute;
  width: auto;
  margin: 10px auto;
  left: 0;
  right: 0;
  top: 50%
}

.modal-content {
  border-radius: 5px;
}

@media (min-width: 768px) {
  .modal-dialog {
    width: 600px
  }
}

.modal-body {
  max-height: 90vh;
}

thead.with-border th {
  border-top: 1px solid #f4f4f4 !important;
}

.form-control {
  border-radius: 4px;
}

.actions {
  text-align: right;
  padding-right: 20px !important;
  white-space: nowrap;

  a.fa {
    cursor: pointer;
    &::after {
      content: '|';
      margin: 0 4px 0 10px;
    }

    &:last-child::after {
      content: none;
    }

    &:hover {
      color: $font-color;
    }
  }
}

.snotify-confirm {
  border-left: none !important;
  border-radius: 5px;
}

.btn-primary {
  color: #fff;
  background-color: #2d8cf0;
  border-color: #2d8cf0;

  &:hover {
    background-color: #57a3f3;
    border-color: #57a3f3
  }
  &.active, &:active {
    color: #f2f2f2;
    background-color: #2b85e4;
    border-color: #2b85e4
  }
}

.modal-body > .form-group:last-child {
  margin-bottom: 0;
}

.tree-icon.fa {
  background: none !important;
  font-size: 14px;
  vertical-align: bottom;
}
